#ifndef __TIM4_DELAY_H
#define __TIM4_DELAY_H

#include "stm32f10x.h"                  // Device header

/* tim4实现延迟函数,频率36M/36=1Mhz */

void TIM4_DelayInit(void);
void TIM4_Delayus(uint16_t xus);
void TIM4_Delayms(uint16_t xms);

#endif
